Skip to content

Bug: The app is blank - #2

Merged
venice-dev[bot] merged 6 commits into
soli-testbench:mainfrom
Chris-Moller:agent/fc622b15-3173-4015-9a9c-01f08a8d959f
Mar 21, 2026
Merged

Bug: The app is blank#2
venice-dev[bot] merged 6 commits into
soli-testbench:mainfrom
Chris-Moller:agent/fc622b15-3173-4015-9a9c-01f08a8d959f

Conversation

@Chris-Moller

@Chris-Moller Chris-Moller commented Mar 21, 2026

Copy link
Copy Markdown

Diagnosed blank app root cause: nginx types{} block overrides all MIME types, breaking CSS delivery. Created plan for single-file fix to nginx.conf.

Venice Agent and others added 6 commits March 21, 2026 04:35
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The app appeared blank because the default nginx configuration in the
Docker image did not properly serve JS modules with correct MIME types,
and lacked try_files SPA fallback. Additionally, Vite's absolute asset
paths could break under reverse proxy configurations.

- Add custom nginx.conf with proper MIME types, gzip, and SPA fallback
- Update Dockerfile to use custom nginx config
- Set Vite base to './' for relative asset paths
- Add .dockerignore to exclude node_modules/dist/.git from build context
- Add explicit canvas dimensions in HTML as fallback before JS loads

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The types { } block completely replaced all MIME types from the
include directive, causing CSS to be served without text/css and
rendering the app blank. Removing it lets the standard mime.types
handle all extensions correctly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Chris-Moller Chris-Moller changed the title fix(deploy): resolve blank app with nginx config and relative asset paths Bug: The app is blank Mar 21, 2026
@venice-dev
venice-dev Bot merged commit 89fbcf1 into soli-testbench:main Mar 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant